.but a, .but button{
    /*display:block;*/
    float:right;
    margin:0 0 0 7px;
    
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:12px;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
    -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
      
    
}
.but-left a, .but-left button{
    float:left;
    margin:0px;
}
.but button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.but button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.but button img, .but a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .but a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.but a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* DISABLED */

.but a.disabled, .but button.disabled{
	cursor:default;
}
.but button.disabled img, .but a.disabled img{
    opacity:0.2;
    filter:alpha(opacity=20);
}

button.disabled, .but a.disabled{
    color: #dedede;
}
.but a.disabled:hover, button.disabled:hover{
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    color: #dedede;
}
.but a.disabled:active{
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    color: #dedede;
}

/* POSITIVE */

button.positive, .but a.positive{
    color:#529214;
}

button.positive:hover, .but a.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.but a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

button.negative, .but a.negative{
    color:#d12f19;
    background-color:#f5f5f5;
}
button.negative:hover, .but a.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.but a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

/* REGULAR */

button.regular, .but a.regular{
    color:#336699;
}
button.regular:hover, .but a.regular:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.but a.regular:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}
/*------------------------------------------------*/
/*------------------[SMAL]-----------------*/
/*------------------------------------------------*/

.but-smal a, .but-smal button{
	display:block;
    float:right;
    margin:0px;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:12px;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:6px 6px 6px 6px; /* Links */
    -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
}
.but-smal button img, .but-smal a img{
    margin:0 0px 0px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}
/* STANDARD */

button:hover, .but-smal a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.but-smal a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

.but-smal button.positive, a.positive{
    color:#529214;
}
.but-smal button.positive:hover, a.positive:hover {
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.but-smal a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* DISABLED */

.but-smal a.disabled, button.disabled{
	cursor:default;
}
.but-smal button.disabled img, a.disabled img{
    opacity:0.2;
    filter:alpha(opacity=20);
}

.but-smal button.disabled, a.disabled{
    color: #dedede;
}
.but-smal button.disabled:hover, a.disabled:hover{
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    color: #dedede;
}
.but-smal a.disabled:active{
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;
    color: #dedede;
}

/* NEGATIVE */

.but-smal button.negative, a.negative{
    color:#d12f19;
}
.but-smal button.negative:hover, a.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.but-smal a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

/* REGULAR */

button.regular, .but-smal a.regular{
    color:#336699;
}
button.regular:hover, .but-smal a.regular:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.but-smal a.regular:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}